<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColIsUnitAdminToUnitSettledApplyTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('unit_settled_apply', function(Blueprint $table)
        {
            $table->integer('is_unit_admin')->default(0)->comment('是否成为单位管理员 0：否 1：是')->after('is_top');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
